/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.lottery.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.lottery.entity.ActivityStatus;
import com.thinkgem.jeesite.modules.lottery.dao.ActivityStatusDao;

/**
 * 活动状态管理Service
 * @author Muser
 * @version 2019-07-31
 */
@Service
@Transactional(readOnly = true)
public class ActivityStatusService extends CrudService<ActivityStatusDao, ActivityStatus> {

	public ActivityStatus get(String id) {
		return super.get(id);
	}
	
	public List<ActivityStatus> findList(ActivityStatus activityStatus) {
		return super.findList(activityStatus);
	}
	
	public Page<ActivityStatus> findPage(Page<ActivityStatus> page, ActivityStatus activityStatus) {
		return super.findPage(page, activityStatus);
	}
	
	@Transactional(readOnly = false)
	public void save(ActivityStatus activityStatus) {
		super.save(activityStatus);
	}
	
	@Transactional(readOnly = false)
	public void delete(ActivityStatus activityStatus) {
		super.delete(activityStatus);
	}
	
}